<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>后台管理系统</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="" name=keywords>
<META content=name=description>
<STYLE type=text/css>
.neon {
	FILTER: glow(color =   #002E60, strength =   3)
}

DIV {
	WIDTH: 70px
}

BODY {
	MARGIN: 0px
}

BODY {
	MARGIN-TOP: 0px;
	SCROLLBAR-FACE-COLOR: #005fc5;
	FONT-SIZE: 12px;
	BACKGROUND: #ffffff;
	SCROLLBAR-HIGHLIGHT-COLOR: #799ae1;
	SCROLLBAR-SHADOW-COLOR: #799ae1;
	SCROLLBAR-3DLIGHT-COLOR: #005fc5;
	SCROLLBAR-ARROW-COLOR: #ffffff;
	SCROLLBAR-TRACK-COLOR: #aabfec;
	SCROLLBAR-DARKSHADOW-COLOR: #799ae1
}
</STYLE>
<LINK href="<%=path%>/images/duan_1.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<style type="text/css">
<!--
.STYLE7 {
	COLOR: #003366;
	font-size: 12px;
}
-->
</style>
<script type="text/javascript">
	function search() {
		var th = document.form1;

		th.action = "ProAction_doList";
		th.submit();
	}

	function selectAll(flag) {
		var ids = document.getElementsByName("ids");
		for (var i = 0; i < ids.length; i++) {
			ids[i].checked = flag;
		}
	}

	function getSelectCount() {
		var count = 0;
		var ids = document.getElementsByName("ids");
		for (var i = 0; i < ids.length; i++) {
			if (ids[i].checked) {
				count++;
			}
		}
		return count;
	}

	function del() {
		var th = document.form1;

		if (getSelectCount() < 1) {
			alert("至少要选择一项!")
			return;
		}

		th.action = "ProAction_doDel";
		th.submit();
	}

	function doFirst() {
		var th = document.form1;
		th.action = "ProAction_doFirst";
		th.submit();
	}
	function doEnd() {
		var th = document.form1;
		th.action = "ProAction_doEnd";
		th.submit();
	}
	function doPre() {
		var th = document.form1;
		th.action = "ProAction_doPre";
		th.submit();
	}
	function doNext() {
		var th = document.form1;
		th.action = "ProAction_doNext";
		th.submit();
	}
</script>
</HEAD>
<BODY bgColor="#ffffff">
	<form action="" name="form1" method="post">
		<TABLE height=433 cellSpacing=0 cellPadding=0 width=580 align=center
			border=0>
			<TBODY>
				<TR>
					<TD colSpan=3 height=9></TD>
				</TR>
				<TR>
					<TD vAlign=top width=12 background="<%=path%>/images/dhpddw.gif"
						rowSpan=2>&nbsp;</TD>
					<TD width=739 background="<%=path%>/images/h-1.gif" height=9></TD>
					<TD width=9 height=9><IMG height=9
						src="<%=path%>/images/jiao.gif" width=9></TD>
				</TR>
				<TR>
					<TD vAlign=top align=right width=739 height=415>
						<TABLE cellSpacing=0 cellPadding=0 width=556 border=0>
							<!--DWLayoutTable-->
							<TBODY>
								<TR>
									<TD vAlign=bottom width=548 height=27><IMG height=10
										src="<%=path%>/images/jt2.gif" width=10> <span
										class="lbt">产品管理模块&gt;&gt;产品信息_查询</span></TD>
									<TD width=8 rowSpan=3>&nbsp;</TD>
								</TR>
								<TR>
									<TD background="<%=path%>/images/ht.gif" height=22></TD>
								</TR>
								<TR>
									<TD class=unnamed1 vAlign=top height=9>
										<TABLE width="99%" border=0 cellPadding=4 cellSpacing=1
											bgColor=#0867b3>
											<TBODY>
												<TR bgColor=#ffffff height=20>
													<TD width=13% noWrap class="STYLE7">产品名称</TD>
													<TD width=31% noWrap><span class="STYLE7"> <INPUT
															class=text2 maxLength=20 size=18 name="searchname"
															minLength="1" value="">
													</span></TD>

												</TR>

											</TBODY>
										</TABLE> <br>
									</TD>
								</TR>
								<TR>
									<TD height=27 colspan="2" align="center" vAlign=top><a
										href="javascript:search();"> <img
											src="<%=path%>/images/cx_1.jpg" name="Image4" width="60"
											height="22" border="0">
									</a>&nbsp; <a href="<%=path%>/page2/product/2_1_5tj.jsp"><img
											src="<%=path%>/images/tj_1.jpg" name="Image3" width="60"
											height="22" border="0"> </a></TD>
								</TR>
								<TR>
									<TD height=94 vAlign=top><IMG height=10
										src="<%=path%>/images/jt2.gif" width=10> <span
										class="lbt">查询结果</span> <br> <br>
										<TABLE width="99%" border=0 cellPadding=4 cellSpacing=1
											bgColor=#0867b3>
											<!--DWLayoutTable-->
											<TBODY>
												<TR bgColor=#ffffff height=20>
													<TD width=24 height="20" align="center" noWrap
														class="STYLE7"><input type="checkbox" name="checkall"
														value="" onclick="javascript:selectAll(this.checked);"></TD>
													<TD width=70 align="center" noWrap class="STYLE7">
														产品名称</TD>
													<TD width=60 align="center" noWrap class="STYLE7">
														产品产地</TD>
													<TD width=128 align="center" noWrap class="STYLE7">
														产品价格</TD>
												</TR>
												<s:iterator value="products">
													<TR bgColor=#ffffff height=2>
														<TD height="28" align="center" valign="top" noWrap><input
															name="ids" type="checkbox" class="text2" value="">
														</TD>
														<TD align="center" valign="middle" noWrap><span
															class="foot3"></span> <s:property value="proname" /></TD>
														<TD align="center" valign="middle" noWrap class="foot3"><s:property
																value="proaddress" /></TD>
														<TD align="center" valign="middle"><s:property
																value="proprice" /><span class="foot3"></span></TD>
													</TR>
												</s:iterator>
											</TBODY>
										</TABLE> <br> <a href="<%=path%>/page2/product/2_1_5xg.jsp"><img
											src="<%=path%>/images/xg_1.jpg" name="Image6" width="60"
											height="22" border="0"> </a>&nbsp; <a
										href="javascript:del();"><img
											src="<%=path%>/images/sc_1.jpg" name="Image7" width="60"
											height="22" border="0"> </a>&nbsp; <a href="#"><img
											src="<%=path%>/images/ck_1.jpg" name="Image8" width="60"
											height="22" border="0"> </a> <br>
										<table width="99%" border=0 cellpadding=4 cellspacing=1
											bgcolor=#0867b3>
											<!--DWLayoutTable-->
											<tbody>
												<tr bgcolor=#ffffff height=20>
													<td height="20" align="center" valign="middle" nowrap>
														<span class="STYLE7">共<s:property value="totalPage" />页
													</span>&nbsp; <a href="javascript:doFirst();" class="dh2">首页</a>&nbsp;
														<a href="javascript:doPre();" class="dh2">上一页</a>&nbsp; <a
														href="javascript:doNext();" class="dh2">下一页</a>&nbsp; <a
														href="javascript:doEnd();" class="dh2">尾页</a>&nbsp; <span
														class="STYLE7">跳转到</span> <select name="select"
														class="text2" style="WIDTH: 40px">

															<option value=""></option>

													</select>
													</td>
												</tr>
											</tbody>
										</table></TD>
									<TD></TD>
								</TR>
								<TR>
									<TD height=20>&nbsp;</TD>
									<TD></TD>
								</TR>
							</TBODY>
						</TABLE>
					</TD>
					<TD width=9 background="<%=path%>/images/s-1.gif"></TD>
				</TR>
			</TBODY>
		</TABLE>
	</form>
	<IFRAME name=top align=default src="<%=path%>/page2/bottom.jsp"
		frameBorder=0 width=100% scrolling=no height=88>
		<h1>&nbsp;</h1>
	</IFRAME>
</BODY>
</HTML>
